package com.woniuxy.service;

import com.woniuxy.controller.form.StoreRegisterSearchForm;
import com.woniuxy.controller.form.StoreRegisterForm;
import com.woniuxy.controller.form.StoreRegisterUpdateForm;
import com.woniuxy.controller.form.StoreRegisterUpdateStatusForm;
import com.woniuxy.entity.StoreRegister;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.service.dto.StoreRegisterDto;
import com.woniuxy.service.dto.WoniuPageDto;

import java.util.List;

/**
 * <p>
 * 商家注册表 服务类
 * </p>
 *
 * @author zz
 * @since 2023年06月13日
 */
public interface StoreRegisterService extends IService<StoreRegister> {

    void addRegister(StoreRegisterForm form,Integer accountId);

    StoreRegister updateMessage(StoreRegisterUpdateForm form, Integer accountId);

    String check(String storeName);

    WoniuPageDto searchByStatus(StoreRegisterSearchForm form);

    StoreRegister updateStatus(StoreRegisterUpdateStatusForm form) throws Exception;

    Integer checkFormed(Integer accountId);
}
